home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d19 / fixcty16.arc / FIXCITY.DOC < prev    next >
Text File  |  1991-02-15  |  4KB  |  88 lines

  1.                           Suburban Software
  2.                           Burbank, IL 60459
  3.                            (312)636-6694
  4.                       Written by Chuck Valecek
  5.                              06/06/88
  6.                          Revised 02/03/91
  7.  
  8.     Are you using TOPUSR (TOPUSRxx.ZIP) written by Samual H. Smith from the
  9. Tool Shop BBS? If so this little utility will help you to modify the 
  10. City/State names in your users file.
  11.  
  12.     TOPUSR will create bulletins based on the number of callers and calls made
  13. from different City/States. If your users are like mine they have a hard time
  14. entering the correct City/State they live in. So what you get is an assorted
  15. list of one city spelled 20 different ways.
  16.  
  17.     So what does this program do? Well it gets smarter as you use it. It will
  18. create a file of City/State combinations from your users file as you edit them
  19. Eventually it will scan your users file and find all the misspelled City and
  20. States (If you entered them correctly yourself).
  21.  
  22.     The first time you use it it:
  23. 1) Will create files called XCITY.DAT, where X is the first letter of the
  24.    city, in your current directory. 
  25. 2) Prompt you for the ENTIRE path of your USERS file.
  26. 3) Make a backup of your USERS file (USERS.BAK)
  27. 4) Scan your users file for misspelled City/State combinations.
  28. 5) Sysop created COMMON.DAT that will automatically change certain cities
  29.  
  30. When it finds a City/State that it cannot find in the table it will prompt you
  31. to A)dd the City/State into the table, Correct the spelling or Quit.
  32. If you are certain that the spelling is correct then the City is not in the
  33. table, you may select:
  34.    A - To ADD it into the table for future checks.
  35.  
  36.    C - Attempt to find one that is similar to it, display all the ones that are
  37.    close to it in spelling. You then enter the number of the correct spelling
  38.    and the program will update the users record with the correct spelling.
  39.    
  40.    If it cannot find one or you press return instead of entering a number
  41.    the program will prompt you for the correct spelling. After you enter the
  42.    correct spelling it will attempt to search the table again. If it cannot
  43.    find the City it will prompt you again for an A, C or Q. If you are certain
  44.    that the spelling is correct enter an A and the program will add it to the
  45.    table.
  46.  
  47.    S - Skip this user and continue processing
  48.  
  49.    Q - Quit will save the file to disk for the next edit run.
  50.  
  51.    Once a users record has been updated with FIXCITY it will place a "α" in the
  52. last position of the comment 1 field of the users record. Why you ask? If the
  53. program determines that the 30th position of the comment 1 field contains the 
  54. "α" character it will automatically bypass this record. It really speeds up
  55. the process.
  56.  
  57.    If your wish to override this check run FIXCITY with a /O on the command
  58. line. This will verify the cities with the data files.
  59.  
  60.    After running this utility your bulletins from TOPUSR will not have 20 or so
  61. misspelled Cities and will be more accurate. In the beggining you will need
  62. to type a few Cities but after using it and building the City/State table the
  63. job will get easier. You may get a head start by creating a City/State file
  64. using a editor or you may edit the file BUT limit the City/State records to
  65. a maximum of 24 characters. Thats all PCBoard allows in the user file.
  66.  
  67.  
  68.     The layout of the COMMON.DAT file is below:
  69. On each line enter the city you wnat converted, followed by a colon, then the
  70. city you wnat it converted to.
  71.  
  72. Example:   CHGO, ILL:CHICAGO, IL
  73.  
  74. The file can contain 200 such entries
  75.  
  76. To help those that have used this program in the past I have written a program
  77. to convert your old CITYST.DAT file for you. It will create a file for each
  78. different letter in the first position of the city. All cities that began with
  79. A will be in ACITY.DAT.
  80.  
  81.     If you use this program give my BBS a call and let me know. I would like
  82. to hear from someone that is using it to get some feedback.
  83.  
  84.  
  85. Thanks,    Chuck Valecek
  86.            Suburban Software BBS
  87.            (312)-636-6694 24 hours, 12/2400 Baud
  88.